package com.yunhe.abnormal.repository.base;

import com.yunhe.common.model.data.AbnormalRuleFormulaObject;

import java.util.List;

public interface AbnormalRuleFormulaObjectRepository {

    List<AbnormalRuleFormulaObject> findByMeasPointNumber(String pointNumber);

    List<Long> getMeasPointNumbersByRuleId(Long id);

    List<Long> getAllMeasPointNumber();

    List<AbnormalRuleFormulaObject> findByRuleId(Long ruleId);

    List<AbnormalRuleFormulaObject> findAllAbnormalRuleFormulaObject();
  
    AbnormalRuleFormulaObject findByRuleIdAndLevelId(Long ruleId, Long levelId);
}
